package com.yunxun.coinmessage.entity;

import javax.validation.constraints.NotEmpty;

public class Exchange {
    private Integer eid;
    @NotEmpty(message = "交易所名称不能为空字符串")
    private String ename;
    private String eurl;
    private String eintro;
    private int weight;
    public Exchange(){
        eurl="";
        eintro="";
    }
    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEurl() {
        return eurl;
    }

    public void setEurl(String eurl) {
        this.eurl = eurl;
    }

    public String getEintro() {
        return eintro;
    }

    public void setEintro(String eintro) {
        this.eintro = eintro;
    }
}
